home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / comm2 / dbtkrv14.lha / DBTicker.autoinstall < prev    next >
Text File  |  1996-04-10  |  2KB  |  73 lines

  1.  
  2. echo "*nDBTicker V1.4  --  ©1995 Denis Bucher  --  Auto Install Script --*n"
  3.  
  4. if not EXISTS "Doors:"
  5.     echo "I need Doors: to work, sorry ...*N*NI would suggest to add 'assign doors: device:your_path/' in your*N S:Startup-Sequence and type it now !*N"
  6.     skip quitte
  7. endif
  8.  
  9. if not EXISTS "Doors:DBAreafix"
  10.     makedir Doors:DBAreafix
  11. endif
  12.  
  13. copy DBTicker        Doors:DBAreafix/ clone
  14. copy DBTicker.script    Doors:DBAreafix/ clone
  15. ;copy DBTicker.doc  Doors:DBAreafix/ clone
  16.  
  17. IF exists FIDO:Batch/GenericTick.DMB
  18.     echo "*n*nQuestion : Does the following text already contains the text 'DBTicker.script' ?"
  19.         echo "*n---------------text :---------------------"
  20.         type FIDO:Batch/GenericTick.DMB
  21.         echo "-------------end of text------------------"
  22.  
  23.     unset >NIL: DBTickerInstalled
  24.  
  25.         echo "*nYour answer [Y/n] : " noline
  26.             set >nil: DBTickerInstalled ?
  27.             echo "" noline
  28.     
  29.         if "$DBTickerInstalled" EQ "n"
  30.             skip addgenerictick
  31.         else
  32.             echo "*nAssumed : YES*n->If answer should have been 'no', just restart install :-)*n*n"
  33.         endif
  34.  
  35.     unset >NIL: DBTickerInstalled
  36.     
  37. else
  38.         skip addgenerictick
  39. endif
  40.  
  41. skip suite
  42.  
  43. ;------------------------SUB
  44. lab addgenerictick
  45.     echo >>FIDO:Batch/GenericTick.DMB "Doors:DBAreafix/DBTicker.script"
  46. ;------------------------END
  47.  
  48. lab suite
  49.  
  50. clear
  51. echo "*nQuestion : Is there *"TICK 1*" in your DLGMail.CFG ?*n*nIf no : Add TICK 1 or change TICK 0 to TICK 1 in your Fido:DLGMail.ARE !!!*N*n*N"
  52.  
  53. ;    unset >NIL: RunDBAreafixNow
  54.  
  55. ;        echo "*nConfigure DBTicker NOW ? [y/N] : " noline
  56. echo "(5 secs...)"
  57. wait 5
  58. ;        set >nil: RunDBAreafixNow ?
  59. ;        echo "" noline
  60.     
  61. ;        if "$RunDBAreafixNow" EQ "y"
  62. ;            Doors:DBAreafix/DBAreafix CFG
  63. ;        endif
  64.  
  65.     Doors:DBAreafix/DBTicker ?
  66. ;    unset >NIL: RunDBAreafixNow
  67.  
  68. lab termine
  69.  
  70. echo "*NYou can found your DBTicker in *"Doors:DBAreafix/*".*n"
  71.  
  72. lab quitte
  73.